package entity;

import javax.json.bind.annotation.JsonbProperty;

@SuppressWarnings("unused")
public class Key {
    public Key(){
    }
    @JsonbProperty("error")
    private String error;
    @JsonbProperty("openid")
    private String oppenid;
    @JsonbProperty("message")
    private String message;
    @JsonbProperty("access_token")
    private String access_token;



    public Key(String error, String message, String oppenid, String access_token){
      this.error=error;
      this.message=message;
      this.oppenid=oppenid;
      this.access_token=access_token;
    }


    public String getError() {
        return error;
    }

    public String getAccess_token() {
        return access_token;
    }

    public String getOppenid() {
        return oppenid;
    }

    public String getMessage() {
        return message;
    }

    public void setError(String error) {
        this.error = error;
    }

    public void setOppenid(String oppenid) {
        this.oppenid = oppenid;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
